import { DrawConfig } from './type';

/** 默认配置 */
export default <DrawConfig>{

	sortEveryFrame: true,
	sortDate: false,
	dataStack: false,

	DateReverse: false,
	ValueReverse: false,
	YReverse: false,
	drawRevese: true,

	showFps: false,
	axisSemilogarithmicX: false,

	nameInLeft: true,
	iconShow: true,

	iconRound: true,

	charset: "UTF-8",
	backgroundColor: "#FFF",
	backgroundImageUrl: null,
	nameColor: null,
	valueColor: null,
	rectColor: null,
	splitLineColor: "#000",
	splitValueColor: "#000",
	dateColor: "#000",
	fpsColor: "#F00",

	padding: 30,
	rectPadding: 10,
	splitFontHeight: 20,
	namePadding: 10,
	valueLeftPadding: 5,
	iconRightPadding: 10,
	topIconPadding: 25,
	fpsFontSize: 30,

	valueFrame: 7,
	yFrame: 20,
	splitLineFrame: 15,
	fpsRefresh: 100,

	firstIndx: 0,
	maxLength: 10,
	minRate: null,

	transitionValue: "line",
	transitionY: "0,.4,.4,1",
	transitionSplitLine: "line",

	splitLineWidth: 4,
	splitLineCount: 7,
	splitLineValue: 10,
	splitLineUnit: 10,

	formatName: null,
	formatValue: null,
	formatSplitValue: null,
};
